diff options
| author | real-zephex <[email protected]> | 2024-03-25 16:23:08 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-03-25 16:23:08 +0530 |
| commit | e8671e9efd1771bc070b11f7200a9f212ed7822f (patch) | |
| tree | eace505ff98083b2e236fd53e215925a6d6221ec /src/app/manga/[title]/[id]/[read]/page.jsx | |
| parent | fix: vercel fix (diff) | |
| download | dramalama-e8671e9efd1771bc070b11f7200a9f212ed7822f.tar.xz dramalama-e8671e9efd1771bc070b11f7200a9f212ed7822f.zip | |
feature update: added the functionality to download mangas
Diffstat (limited to 'src/app/manga/[title]/[id]/[read]/page.jsx')
| -rw-r--r-- | src/app/manga/[title]/[id]/[read]/page.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx index 0d58df6..2823f81 100644 --- a/src/app/manga/[title]/[id]/[read]/page.jsx +++ b/src/app/manga/[title]/[id]/[read]/page.jsx @@ -1,5 +1,6 @@ import styles from "./read.module.css"; import Image from "next/image"; +import DownloadManga from "./download"; export default async function Read({ params }) { const chapterId = params.read; @@ -23,6 +24,7 @@ export default async function Read({ params }) { return ( <div className={styles.Main}> <div className={styles.ImageContainer}> + <DownloadManga chapterId={chapterId} /> {images && images.map((item, index) => ( <div className={styles.Image} key={index}> |